﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ChessGameV2.AI.form
{
    public partial class frmThinking : Form
    {
        public frmThinking(int deep)
        {
            InitializeComponent();
            this.dgv_thongke.AutoGenerateColumns = false;

            DataGridViewTextBoxColumn CountColumn = new DataGridViewTextBoxColumn();
            CountColumn.HeaderText = "ID";
            CountColumn.Width = 100;
            this.dgv_thongke.Columns.Add(CountColumn);

            for (int i = 1; i <= deep; i++ )
            {
                DataGridViewTextBoxColumn Deep = new DataGridViewTextBoxColumn();
                Deep.HeaderText = "Value of Deep" + i.ToString();
                Deep.Width = 100;
                this.dgv_thongke.Columns.Add(Deep);
            }
        }
    }
}
